#app,
html,
body {
  width: 100%;
  height: 100%;
}

//滚动条样式
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: @webkit-scrollbar-width;
  height: @webkit-scrollbar-height;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: @webkit-scrollbar-thumb;
}
:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;

  --primarycolor: #7232fa;
}

/* nprogress进度条 */
#nprogress .bar {
  background: rgb(15, 143, 242) !important;
}

// 布局通用类
.base-container {
  margin: 0 auto;
  width: 1920px;
}

.lf {
  float: left;
}

.lr {
  float: right;
}

.position-abs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
}

/*  flex 布局通用类 */
.flex {
  display: flex;
  display: -webkit-flex;
}
.flex1 {
  flex: 1;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-ai {
  align-items: center;
}
.flex-jc {
  justify-content: center;
}
.flex-right {
  justify-content: flex-end;
}
/****主轴水平、垂直方向***/
.flex-rowc {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
//水平垂直居中
.flex-rowl {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
//水平垂直居中
.flex-row-unest {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
//主轴为水平方向，起点在左端，垂直居中
.flex-rowr {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  // justify-content: flex-end;
  align-items: center;
}
//主轴为水平方向，起点在右端，垂直居中
.flex-colc {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
//主轴为垂直方向，垂直居中
.flex-colt {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
//主轴为垂直方向，起点在上沿，水平居中
.flex-colb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
//主轴为垂直方向，起点在下沿，水平居中
.flex-between {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
//两端对齐，项目之间的间隔都相等
.flex-around {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
//每个项目两侧的间隔相等
//水平方向（一个固定宽度，一个自适应填充）**
/* 固定宽度 */
.fixedWidth {
  flex: 0 0 auto;
}
/* 自适应宽度 */
.autoFullWidth {
  flex: 1 1 auto;
}

//**垂直方向（一个固定高度，一个自适应填充）**
/**固定高度*/
.fixedHig {
  flex: 0;
}
/**自动填充剩余区域*/
.autoFullHig {
  flex: 1;
}

// 字体和颜色通用类
.ft12 {
  font-size: 12px;
}
.ft14 {
  font-size: 14px;
}
.ft16 {
  font-size: 16px;
}
.ft18 {
  font-size: 18px;
}
.ft20 {
  font-size: 20px;
}
.ft22 {
  font-size: 22px;
}
.color333 {
  color: #333;
}
.bold {
  font-weight: bold;
}

// 裁剪通用类
.clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.clamp1 {
  -webkit-line-clamp: 1;
}
.clamp2 {
  -webkit-line-clamp: 2;
}
.clamp3 {
  -webkit-line-clamp: 3;
}
.clamp4 {
  -webkit-line-clamp: 4;
}
.clamp5 {
  -webkit-line-clamp: 5;
}
.clamp6 {
  -webkit-line-clamp: 5;
}

// ant-design-vue Modal组件弹框样式
.modal-confirm-view {
  .ant-modal-content {
    padding: 15px;
  }
}
